<?php

namespace support\base;

use support\MiddlewareInterface;
use support\Request;
use support\Response;

abstract class BaseMiddleware implements MiddlewareInterface
{
    public function handle(Request $request, \Closure $next): Response
    {
        return $this->process($request, $next);
    }
}